import { createApp } from 'vue'
import router from "./router";
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
import VueUeditorWrap from "vue-ueditor-wrap";
import locale from 'element-plus/es/locale/lang/zh-cn'

import App from './App.vue'
const app = createApp(App)
app.use(router).use(ElementPlus,{locale}).use(VueUeditorWrap).mount('#app')
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

